package com.cskaoyan.bo;

import java.util.List;

public class GoodsBeanBo {

    /**
     * goods : {"picUrl":"","gallery":[],"goodsSn":"1111122","name":"12231","counterPrice":"5555","retailPrice":"3333","isNew":true,"isHot":false,"isOnSale":true,"unit":"个","keywords":"哈","categoryId":1008002,"brief":"敖德萨多"}
     * specifications : [{"specification":"规格","value":"标准","picUrl":""}]
     * products : [{"id":0,"specifications":["标准"],"price":"200","number":"333","url":""}]
     * attributes : [{"attribute":"哈啊哈","value":"111"}]
     */

    private GoodsBean goods;
    private List<SpecificationsBean> specifications;
    private List<ProductsBean> products;
    private List<AttributesBean> attributes;

    public GoodsBean getGoods() {
        return goods;
    }

    public void setGoods(GoodsBean goods) {
        this.goods = goods;
    }

    public List<SpecificationsBean> getSpecifications() {
        return specifications;
    }

    public void setSpecifications(List<SpecificationsBean> specifications) {
        this.specifications = specifications;
    }

    public List<ProductsBean> getProducts() {
        return products;
    }

    public void setProducts(List<ProductsBean> products) {
        this.products = products;
    }

    public List<AttributesBean> getAttributes() {
        return attributes;
    }

    public void setAttributes(List<AttributesBean> attributes) {
        this.attributes = attributes;
    }

    public static class GoodsBean {
        /**
         * picUrl :
         * gallery : []
         * goodsSn : 1111122
         * name : 12231
         * counterPrice : 5555
         * retailPrice : 3333
         * isNew : true
         * isHot : false
         * isOnSale : true
         * unit : 个
         * keywords : 哈
         * categoryId : 1008002
         * brief : 敖德萨多
         */

        private String picUrl;
        private String goodsSn;
        private String name;
        private String counterPrice;
        private String retailPrice;
        private boolean isNew;
        private boolean isHot;
        private boolean isOnSale;
        private String unit;
        private String keywords;
        private int categoryId;
        private String brief;
        private List<?> gallery;

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCounterPrice() {
            return counterPrice;
        }

        public void setCounterPrice(String counterPrice) {
            this.counterPrice = counterPrice;
        }

        public String getRetailPrice() {
            return retailPrice;
        }

        public void setRetailPrice(String retailPrice) {
            this.retailPrice = retailPrice;
        }

        public boolean isIsNew() {
            return isNew;
        }

        public void setIsNew(boolean isNew) {
            this.isNew = isNew;
        }

        public boolean isIsHot() {
            return isHot;
        }

        public void setIsHot(boolean isHot) {
            this.isHot = isHot;
        }

        public boolean isIsOnSale() {
            return isOnSale;
        }

        public void setIsOnSale(boolean isOnSale) {
            this.isOnSale = isOnSale;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getKeywords() {
            return keywords;
        }

        public void setKeywords(String keywords) {
            this.keywords = keywords;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public String getBrief() {
            return brief;
        }

        public void setBrief(String brief) {
            this.brief = brief;
        }

        public List<?> getGallery() {
            return gallery;
        }

        public void setGallery(List<?> gallery) {
            this.gallery = gallery;
        }
    }

    public static class SpecificationsBean {
        /**
         * specification : 规格
         * value : 标准
         * picUrl :
         */

        private String specification;
        private String value;
        private String picUrl;

        public String getSpecification() {
            return specification;
        }

        public void setSpecification(String specification) {
            this.specification = specification;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }
    }

    public static class ProductsBean {
        /**
         * id : 0
         * specifications : ["标准"]
         * price : 200
         * number : 333
         * url :
         */

        private int id;
        private String price;
        private String number;
        private String url;
        private List<String> specifications;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public List<String> getSpecifications() {
            return specifications;
        }

        public void setSpecifications(List<String> specifications) {
            this.specifications = specifications;
        }
    }

    public static class AttributesBean {
        /**
         * attribute : 哈啊哈
         * value : 111
         */

        private String attribute;
        private String value;

        public String getAttribute() {
            return attribute;
        }

        public void setAttribute(String attribute) {
            this.attribute = attribute;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }
    }
}
